import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import antdV from "ant-design-vue";
//
import CIcon from "./components/cIcon";
Vue.component("CIcon",CIcon);
import CNavigation from "./components/cNavigation";
Vue.component("CNavigation",CNavigation);
import CCard from "./components/cCard";
Vue.component("CCard",CCard);
import cBtn from "./components/cBtn";
Vue.component("cBtn",cBtn);
import cardWrapper from "./components/cardWrapper";
Vue.component("cardWrapper",cardWrapper);
import time from "./components/time";
Vue.component("CTime",time);

Vue.config.productionTip = false;
Vue.use(antdV);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');

window.logout = function (){
  for (const key in JSON.parse(JSON.stringify(localStorage))) {
    delete localStorage[key];
  }
  window.location.reload();
}

